package com.core.utils;

/**
 */
public final class GlobalConstants {

	public enum HibernateSQLAction {
		SELECT, UPDATE, DELETE, CREATE, CREATE_CHILD
	}

	public static final String SERVLET_PARAM_KEY                = "id";

	public static final String ACTIONSCRIPT_USERINFO_PARAM_KEY  = "ID";
	public static final String ACTIONSCRIPT_USERINFO_PARAM_FORM = "FORM";

	public static final String SM_ATTRIBUTE_IS_AUTHORIZED       = "isAuthorized";

	public static final String USERCONTEXT_ADMINISTRATION       = "context.administration";
	public static final String USERCONTEXT_COMPONENTLIST        = "context.component.list";
	public static final String USERCONTEXT_DASHBOARD            = "context.dashboard";
	public static final String USERCONTEXT_GROUP                = "context.group";
	public static final String USERCONTEXT_GROUPADD             = "context.group.add";
	public static final String USERCONTEXT_GROUPDELETE          = "context.group.delete";
	public static final String USERCONTEXT_GROUPINFO            = "context.group.info";
	public static final String USERCONTEXT_GROUPSLIST           = "context.group.list";
	public static final String USERCONTEXT_GROUPUPDATE          = "context.group.update";
	public static final String USERCONTEXT_PROJECT              = "context.project";
	public static final String USERCONTEXT_PROJECTADD           = "context.project.add";
	public static final String USERCONTEXT_PROJECTINFO          = "context.project.info";
	public static final String USERCONTEXT_PROJECTSLIST         = "context.project.list";
	public static final String USERCONTEXT_PROJECTUPDATE        = "context.project.update";
	public static final String USERCONTEXT_PROJECTDELETE		= "context.project.delete";
	public static final String USERCONTEXT_ROLE                 = "context.role";
	public static final String USERCONTEXT_ROLEADD              = "context.role.add";
	public static final String USERCONTEXT_ROLEDELETE           = "context.role.delete";
	public static final String USERCONTEXT_ROLEINFO             = "context.role.info";
	public static final String USERCONTEXT_ROLEPERMISSIONS      = "context.role.permissions";
	public static final String USERCONTEXT_ROLESLIST            = "context.role.list";
	public static final String USERCONTEXT_ROLEUPDATE           = "context.role.update";
	public static final String USERCONTEXT_SUBTASKADD           = "context.task.subtask.add";
	public static final String USERCONTEXT_SUBTASKSLIST         = "context.task.subtask.list";
	public static final String USERCONTEXT_TASK                 = "context.task.";
	public static final String USERCONTEXT_TASKADD              = "context.task.add";
	public static final String USERCONTEXT_TASKAINFO            = "context.task.info";
	public static final String USERCONTEXT_TASKAUPDATE          = "context.task.update";
	public static final String USERCONTEXT_TASKDELETE			= "context.task.delete";
	public static final String USERCONTEXT_TASKSLIST            = "context.task.list";
	public static final String USERCONTEXT_TASKWORKLOG          = "context.task.worklog";
	public static final String USERCONTEXT_USER                 = "context.user";
	public static final String USERCONTEXT_USERADD              = "context.user.add";
	public static final String USERCONTEXT_USERINFO             = "context.user.info";
	public static final String USERCONTEXT_USERSLIST            = "context.user.list";
	public static final String USERCONTEXT_USERUPDATE           = "context.user.update";
	public static final String USERCONTEXT_VERSION              = "context.version";
	public static final String USERCONTEXT_VERSIONADD           = "context.version.add";
	public static final String USERCONTEXT_VERSIONDELETE        = "context.version.delete";
	public static final String USERCONTEXT_VERSIONINFO          = "context.version.info";
	public static final String USERCONTEXT_VERSIONSLIST         = "context.version.list";
	public static final String USERCONTEXT_VERSIONUPDATE        = "context.version.update";

	public static final String USERCONTEXT_TEAMMEMBER           = "context.team.";
	public static final String USERCONTEXT_TEAMMEMBERINFO       = "context.team.info";
	public static final String USERCONTEXT_TEAMMEMBERADD        = "context.team.add";
	public static final String USERCONTEXT_TEAMMEMBERUPDATE     = "context.team.update";
	public static final String USERCONTEXT_TEAMMEMBERLIST       = "context.team.list";


	public static final String USERCONTEXT_REPORT               = "context.report.";
	public static final String USERCONTEXT_REPORTADD            = "context.report.add";
	public static final String USERCONTEXT_REPORTINFO           = "context.report.info";
	public static final String USERCONTEXT_REPORTSLIST          = "context.report.list";
	public static final String USERCONTEXT_REPORTUPDATE         = "context.report.update";
	public static final String USERCONTEXT_REPORTEXECUTE        = "context.report.execute";

	public static final String SERVLET_DASHBOARD                = "BrowseDashboard";

	public static final String SERVLET_ROLEADD                  = "UserRoleAdd";
	public static final String SERVLET_ROLEDELETE               = "UserRoleDelete";
	public static final String SERVLET_ROLEUPDATE               = "UserRoleUpdate";
	public static final String SERVLET_ROLEINFO                 = "UserRoleInfo";

	public static final String SERVLET_GROUPADD                 = "UserGroupAdd";
	public static final String SERVLET_GROUPDELETE              = "UserGroupDelete";
	public static final String SERVLET_GROUPUPDATE              = "UserGroupUpdate";
	public static final String SERVLET_GROUPINFO                = "UserGroupInfo";

	public static final String SERVLET_TASKADD                  = "ProjectTaskAdd";
	public static final String SERVLET_TASKDELETE               = "ProjectTaskDelete";
	public static final String SERVLET_TASKINFO                 = "ProjectTaskInfo";
	public static final String SERVLET_TASKUPDATE               = "ProjectTaskUpdate";
	public static final String SERVLET_TASKSLIST                = "-";
	public static final String SERVLET_SUBTASKADD               = "ProjectTaskSubtaskAdd";

	public static final String SERVLET_PROJECTADD               = "ProjectAdd";
	public static final String SERVLET_PROJECTINFO              = "ProjectInfo";
	public static final String SERVLET_PROJECTLIST              = "BrowseProjects";
	public static final String SERVLET_PROJECTUPDATE            = "ProjectUpdate";
	public static final String SERVLET_PROJECTDELETE            = "ProjectDelete";

	public static final String SERVLET_TEAMLIST                 = "TeamList";
	public static final String SERVLET_TEAMMEMBERUPDATE         = "TeamMemberUpdate";
	public static final String SERVLET_TEAMMEMBERINFO           = "TeamMemberInfo";
	public static final String SERVLET_TEAMMEMBERADD            = "TeamMemberAdd";
	public static final String SERVLET_TEAMMEMBERDELETE         = "TeamMemberDelete";

	public static final String SERVLET_ADMINISTRATION           = "BrowseAdministration";
	public static final String SERVLET_LOGIN                    = "Login";

	public static final String SERVLET_USERINFO                 = "UserInfo";
	public static final String SERVLET_USERUPDATE               = "UserUpdate";
	public static final String SERVLET_USERDELETE               = "UserDelete";
	public static final String SERVLET_USERADD                  = "UserAdd";
	public static final String SERVLET_USERRESETPASSWORD        = "UserResetPassword";

	public static final String SERVLET_VERSIONADD               = "VersionAdd";
	public static final String SERVLET_VERSIONINFO              = "VersionInfo";
	public static final String SERVLET_VERSIONDELETE            = "VersionDelete";
	public static final String SERVLET_VERSIONUPDATE            = "VersionUpdate";

	public static final String SERVLET_REPORTINFO               = "ReportInfo";
	public static final String SERVLET_REPORTADD                = "ReportAdd";
	public static final String SERVLET_REPORTDELETE             = "ReportDelete";
	public static final String SERVLET_REPORTUPDATE             = "ReportUpdate";
	public static final String SERVLET_REPORTSLIST              = "BrowseReports";
}
